package com.loveprogrammer.service;

import com.loveprogrammer.domain.User;

import java.util.List;

/**
 * @ClassName IUserService
 * @Description TODO
 * @Author admin
 * @Date 2024/2/6 17:13
 * @Version 1.0
 */
public interface IUserService {

    List<User> getUserList();

    User findUserById(Integer id);

    User findUserByNickname(String name);

    User findUserByAccount(String account);


    void save(User user);

    void edit(User user);

    void delete(Integer id);
}
